<style>
	ul,li{padding: 0px;margin: 0px;list-style: none;}
	.panel li{padding: 5px;}
	.panel li span{width: 100px;display:inline-block;}
	.panel li input{width: 400px;padding: 2px 5px;border-radius: 5px;border: 1px solid #ccc;line-height: 30px;}
	.tips{border: 1px dashed #DDDDDD;padding: 10px;margin: 10px;margin-left: 0px;background: #FAF7D3;border-radius: 5px;}
</style>
<div class="row" style="margin-bottom: 20px;border-bottom: 1px solid #EEEEEE;">
<a href="{:U('Sys/index')}"><button type="button" class="btn btn-primary">网站配置</button></a>
<a href="{:U('Sys/seo')}"><button type="button" class="btn btn-primary active">SEO优化</button></a>
<a href="{:U('Sys/nav')}"><button type="button" class="btn btn-primary">导航管理</button></a>
<a href="{:U('Sys/updateCount')}"><button type="button" class="btn btn-primary">更新统计与数据</button></a>
<a href="{:U('Sitemap/index')}"><button type="button" class="btn btn-primary">生成站点地图</button></a>
</div>
<div class="row">
	<div class="col-md-12 com-sm-12 col-xs-12">
		<div class="tips">
			TIPS<br />
			1. 多个关键字，请使用英文逗号(,)分隔；{title},{keywords},{desc}分别为默认的SEO优化标题、关键字、描述，{sitename}为站点设置里您自定义的站点名称。建议在添加自定义SEO优化的时候不要删掉默认的SEO优化<br />
			2. 根据SEO优化规则，建议title一般不超过80个字符,keywords一般不超过100个字符,description一般不超过200个字符
		</div>
	</div>
	<div class="col-md-12 com-sm-12 col-xs-12">
		<form id="seoform" method="post" action="{:U('Sys/seo')}">
		<div class="panel-group" id="accordion">
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		    	<a data-toggle="collapse" data-parent="#accordion" href="#seoindex">首页</a>
		      </h4>
		    </div>
		    <div id="seoindex" class="panel-collapse collapse in">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="index"/>
			        	<volist name="seo" id="seoindex">
			        		<if condition="$seoindex.type eq 'index'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seoindex.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seoindex.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seoindex.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seovideo">影视</a>
		      </h4>
		    </div>
		    <div id="seovideo" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="video"/>
			        	<volist name="seo" id="seovideo">
			        		<if condition="$seovideo.type eq 'video'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seovideo.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seovideo.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seovideo.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seomusic">音乐</a>
		      </h4>
		    </div>
		    <div id="seomusic" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="music"/>
						<volist name="seo" id="seomusic">
			        		<if condition="$seomusic.type eq 'music'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seomusic.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seomusic.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seomusic.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seosoftware">软件</a>
		      </h4>
		    </div>
		    <div id="seosoftware" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="software"/>
						<volist name="seo" id="seosoftware">
			        		<if condition="$seosoftware.type eq 'software'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seosoftware.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seosoftware.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seosoftware.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		   </div>
		   
		   <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seoalbum">专辑</a>
		      </h4>
		    </div>
		    <div id="seoalbum" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="album"/>
						<volist name="seo" id="seoalbum">
			        		<if condition="$seoalbum.type eq 'album'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seoalbum.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seoalbum.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seoalbum.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		   </div>
		   
		   
		    <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seotorrent">种子</a>
		      </h4>
		    </div>
		    <div id="seotorrent" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="torrent"/>
						<volist name="seo" id="seotorrent">
			        		<if condition="$seotorrent.type eq 'torrent'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seotorrent.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seotorrent.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seotorrent.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seouser">达人</a>
		      </h4>
		    </div>
		    <div id="seouser" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="user"/>
						<volist name="seo" id="seouser">
			        		<if condition="$seouser.type eq 'user'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seouser.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seouser.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seouser.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seousercenter">达人中心</a>
		      </h4>
		    </div>
		    <div id="seousercenter" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="usercenter"/>
						<volist name="seo" id="seousercenter">
			        		<if condition="$seousercenter.type eq 'usercenter'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seousercenter.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seousercenter.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seousercenter.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seotag">标签</a>
		      </h4>
		    </div>
		    <div id="seotag" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="tag"/>
			        	<volist name="seo" id="seotag">
			        		<if condition="$seotag.type eq 'tag'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seotag.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seotag.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seotag.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seonews">资讯</a>
		      </h4>
		    </div>
		    <div id="seonews" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="news"/>
						<volist name="seo" id="seonews">
			        		<if condition="$seonews.type eq 'news'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seonews.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seonews.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seonews.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seobook">电子书</a>
		      </h4>
		    </div>
		    <div id="seobook" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="book"/>
						<volist name="seo" id="seobook">
			        		<if condition="$seobook.type eq 'book'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seobook.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seobook.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seobook.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seozip">压缩资源</a>
		      </h4>
		    </div>
		    <div id="seozip" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="zip"/>
						<volist name="seo" id="seozip">
			        		<if condition="$seozip.type eq 'zip'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seozip.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seozip.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seozip.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seocommondetail">资源详情</a>
		      </h4>
		    </div>
		    <div id="seocommondetail" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="common_detail"/>
						<volist name="seo" id="seocommon_detail">
			        		<if condition="$seocommon_detail.type eq 'common_detail'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seocommon_detail.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seocommon_detail.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seocommon_detail.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seoalbumdetail">专辑详情</a>
		      </h4>
		    </div>
		    <div id="seoalbumdetail" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="album_detail"/>
						<volist name="seo" id="seoalbum_detail">
			        		<if condition="$seoalbum_detail.type eq 'album_detail'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seoalbum_detail.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seoalbum_detail.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seoalbum_detail.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seoalbumfile">专辑文件</a>
		      </h4>
		    </div>
		    <div id="seoalbumfile" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="album_file"/>
						<volist name="seo" id="seoalbum_file">
			        		<if condition="$seoalbum_file.type eq 'album_file'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seoalbum_file.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seoalbum_file.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seoalbum_file.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seoso">搜索</a>
		      </h4>
		    </div>
		    <div id="seoso" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="so"/>
			        	<volist name="seo" id="seoso">
			        		<if condition="$seoso.type eq 'so'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seoso.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seoso.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seoso.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seosodetail">搜索结果</a>
		      </h4>
		    </div>
		    <div id="seosodetail" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="sodetail"/>
						<volist name="seo" id="seosodetail">
			        		<if condition="$seosodetail.type eq 'sodetail'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seosodetail.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seosodetail.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seosodetail.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  
		  <div class="panel panel-default">
		    <div class="panel-heading">
		      <h4 class="panel-title">
		        <a data-toggle="collapse" data-parent="#accordion" href="#seonews_detail">资讯内容</a>
		      </h4>
		    </div>
		    <div id="seonews_detail" class="panel-collapse collapse">
		      <div class="panel-body">
			        <ul>
			        	<input type="hidden" name='type[]' value="news_detail"/>
						<volist name="seo" id="seonews_detail">
			        		<if condition="$seonews_detail.type eq 'news_detail'">
			        			<li><span>title</span><input type="text" name="title[]" value="{$seonews_detail.title}"/></li>
			        			<li><span>keywords</span><input type="text" name="keywords[]" value="{$seonews_detail.keywords}"/></li>
			        			<li><span>description</span><input type="text" name="desc[]" value="{$seonews_detail.desc}"/></li>
			        		</if>
			        	</volist>
			        </ul>
		      </div>
		    </div>
		  </div>
		  		  
		 <button type="submit" class="btn btn-success" style="margin-top:50px;margin-bottom: 100px;">提交SEO优化</button>
		</div>
	</div>
	</form>
</div>
